﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace ViewInterfaces
{
    public interface INewsView
    {
        DataTable DataSource { get; set; }
        int NumTop { get; set; }
        bool IsShowTop { get; set; }
        string DetailPage { get; set; }
        string ShowAllPage { get; set; }
        string QueryStringField { get; set; }
        int PageSize { get; set; }

        void AddPageIndexChangeHandler();
        void ConfigAllNewsButton(bool visible);
        void SwitchPanel(bool isShowTopPanel);
        void ConfigGridViewPaging();
        void DataBind_ShowPartialGrid();
        void DataBind_ShowAllGrid();
    }
}
